package net.lahuobao.finance.entity.organizationEntity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 组织实体
 *
 * Created by Administrator on 2016/8/31.
 */
@Entity
@Table(name = "lahuobao.organization")
@DynamicUpdate(true)
@DynamicInsert(true)
public class OrganizationEntity {

    private     long        organizationId;                     //序号
    private     String      organizationName;                   //组织名称
    private     String      organizationImg;                    //
    private     String      organizationNumber;                 //组织机构代码证
    private     String      organizationNumberImg;              //组织机构代码证图片
    private     String      registeredNumber;                   //营业执照注册号
    private     String      registeredNumberImg;                //营业执照副本扫描
    private     String      accountName;                        //企业银行开户名称
    private     String      bank;                               //开户银行
    private     String      bankAccount;                        //银行账户
    private     String      phone;                              //公司电话
    private     int         validateState;                      //验证状态
    private     String      provinceNo;                         //公司所在地址
    private     String      address;                            //详细地址
    private     String      profile;                            //公司简介
    private     String      aliAccount;                         //
    private     String      validateDatetime;                   //
    private     String      showPhoneOwner;                     //


    @Column(name = "account_name")
    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    @Column(name = "address")
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Column(name = "ali_account")
    public String getAliAccount() {
        return aliAccount;
    }

    public void setAliAccount(String aliAccount) {
        this.aliAccount = aliAccount;
    }

    @Column(name = "bank")
    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    @Column(name = "bank_account")
    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    @Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "organization_id")
    public long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(long organizationId) {
        this.organizationId = organizationId;
    }

    @Column(name = "organization_img")
    public String getOrganizationImg() {
        return organizationImg;
    }

    public void setOrganizationImg(String organizationImg) {
        this.organizationImg = organizationImg;
    }

    @Column(name = "organization_name")
    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    @Column(name = "organization_number")
    public String getOrganizationNumber() {
        return organizationNumber;
    }

    public void setOrganizationNumber(String organizationNumber) {
        this.organizationNumber = organizationNumber;
    }

    @Column(name = "organization_number_img")
    public String getOrganizationNumberImg() {
        return organizationNumberImg;
    }

    public void setOrganizationNumberImg(String organizationNumberImg) {
        this.organizationNumberImg = organizationNumberImg;
    }

    @Column(name = "phone")
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Column(name = "profile")
    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    @Column(name = "province_no")
    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    @Column(name = "registered_number")
    public String getRegisteredNumber() {
        return registeredNumber;
    }

    public void setRegisteredNumber(String registeredNumber) {
        this.registeredNumber = registeredNumber;
    }

    @Column(name = "registered_number_img")
    public String getRegisteredNumberImg() {
        return registeredNumberImg;
    }

    public void setRegisteredNumberImg(String registeredNumberImg) {
        this.registeredNumberImg = registeredNumberImg;
    }

    @Column(name = "show_phone_owner")
    public String getShowPhoneOwner() {
        return showPhoneOwner;
    }

    public void setShowPhoneOwner(String showPhoneOwner) {
        this.showPhoneOwner = showPhoneOwner;
    }

    @Column(name = "validate_datetime")
    public String getValidateDatetime() {
        return validateDatetime;
    }

    public void setValidateDatetime(String validateDatetime) {
        this.validateDatetime = validateDatetime;
    }

    @Column(name = "validate_state")
    public int getValidateState() {
        return validateState;
    }

    public void setValidateState(int validateState) {
        this.validateState = validateState;
    }
}

